package com.fuhao.api.service;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.alipay.api.AlipayApiException;
import com.fuhao.base.ResponseBase;

@RequestMapping("/callBackService")
public interface CallBackService {

	/**
	 * 同步通知
	 */
	@RequestMapping("/synCallBack")
	public ResponseBase synCallBack(@RequestParam Map<String, String> params);
	
	/**
	 * 异步通知
	 * 返回seccess给支付宝
	 */
	@RequestMapping("/asynCallBack")
	public String asynCallBack(@RequestParam Map<String, String> params)throws AlipayApiException;
}
